package com.project.business.feign;

import com.project.common.RespResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("order")
public interface OrderFeign {

    @PostMapping("/order/create")
    public RespResult createOrder(@RequestParam("account")String account, @RequestParam("projectId")String projectId,@RequestParam("count") Integer count);
}
